<?php
	require_once('../webroot/js/clsMsDocGenerator.php');
	$doc = new clsMsDocGenerator();
	
	$doc->setFontFamily('Arial');
	$doc->setFontSize('11');
	$doc->addParagraph('Ruta El Buen Trato - Informe Momento',array('font-weight' => 'bold', 'text-align'=>'center', 'font-size' => '14pt'));	
	$doc->addParagraph('');
	
	if(!empty($informes)){
		foreach ($informes as $informe){
			$doc->addParagraph('a. Municipios: '.$informe['Informemomento']['municipios'],array('font-weight' => 'bold', 'text-align'=>'justify','margin-left'=>'15pt'));		
			$doc->addParagraph('b. Dificultades:   '.$informe['Informemomento']['dificultades'],array('font-weight' => 'bold', 'text-align'=>'justify','margin-left'=>'15pt'));
			$doc->addParagraph('c. Logros:  '.$informe['Informemomento']['logros'],array('font-weight' => 'bold', 'text-align'=>'justify','margin-left'=>'15pt'));
			$doc->addParagraph('d. Proyecciones:  '.$informe['Informemomento']['proyecciones'],array('font-weight' => 'bold', 'text-align'=>'justify','margin-left'=>'15pt'));
			$doc->addParagraph('e. Lecciones Aprendidas: '.$informe['Informemomento']['lecciones_aprendidas'],array('font-weight' => 'bold', 'text-align'=>'justify','margin-left'=>'15pt'));
			$doc->addParagraph('f. Evaluaci&oacute;n: '.$informe['Informemomento']['evaluacion'],array('font-weight' => 'bold', 'text-align'=>'justify','margin-left'=>'15pt'));
			$doc->addParagraph('');	
		}
	}else {
		$doc->addParagraph('');
		$doc->addParagraph('No hay Informe Mensual para este municpio');	
	 }
	$doc->output('Informe Momento');
?>